<template>
    <view
        @tap="__e"
        @touchmove.stop.prevent="__e"
        class="mask data-v-c4e9487c"
        :data-event-opts="[
            ['tap', [['cancel', ['$event']]]],
            ['touchmove', [['', ['$event']]]]
        ]"
    >
        <view @tap.stop.prevent="__e" class="mask-content animated bounceInUp data-v-c4e9487c" :data-event-opts="[['tap', [['', ['$event']]]]]">
            <view class="mask-contentUp data-v-c4e9487c">
                <view class="data-v-c4e9487c" style="font-size: 32rox; color: #ffffff">
                    {{ '' + info.title + '' }}
                    <view class="price data-v-c4e9487c" style="color: #9df9fc; margin-top: 24rpx">
                        <text class="data-v-c4e9487c">单价</text>
                        <price-display @__l="__l" class="data-v-c4e9487c" :info="info" vueId="40350ac8-1"></price-display>
                    </view>
                </view>
                <view class="data-v-c4e9487c" style="font-size: 32rpx; color: #ffffff">
                    <text class="data-v-c4e9487c">×</text>
                    <text class="data-v-c4e9487c" style="margin-left: 14rpx">{{ payTotal + '张' }}</text>
                </view>
            </view>
            <view class="block data-v-c4e9487c">
                <view class="item-title data-v-c4e9487c">可用优惠券:</view>
                <view @tap="__e" class="arrow-right bold data-v-c4e9487c" :data-event-opts="[['tap', [['showPopup', ['$event']]]]]">
                    <text class="meta data-v-c4e9487c" v-if="order.coupon_discount">{{ '-¥' + $root.g0 }}</text>
                    <block v-else>
                        <text class="meta data-v-c4e9487c" style="color: #9df9fc" v-if="$root.g1">{{ $root.g2 + '张可用' }}</text>
                        <text class="meta gray-text data-v-c4e9487c" v-else>暂无可用优惠券</text>
                    </block>
                    <text class="new-iconfont icon-arrow-right data-v-c4e9487c"></text>
                </view>
            </view>
            <view class="block data-v-c4e9487c">
                <view class="item-title data-v-c4e9487c">
                    余额:
                    <text class="data-v-c4e9487c" style="color: #9df9fc; font-size: 24rpx"></text>
                </view>
                <view class="arrow-right bold data-v-c4e9487c" style="display: flex">
                    <block v-if="order.redpack">
                        <text class="meta data-v-c4e9487c">{{ '¥' + $root.g3 }}</text>
                        <checkbox-group @change="__e" class="data-v-c4e9487c" :data-event-opts="[['change', [['switchChange', ['$event']]]]]" style="margin-top: -4rpx">
                            <label class="data-v-c4e9487c">
                                <checkbox
                                    :checked="order.is_use_redpack"
                                    class="redpack-switch checkbox-backgroun-yellow checkbox-round data-v-c4e9487c"
                                    color="#5ac725"
                                    :value="order.is_use_redpack"
                                ></checkbox>
                            </label>
                        </checkbox-group>
                    </block>
                    <text class="meta data-v-c4e9487c" v-else>¥0</text>
                </view>
            </view>
            <view class="block data-v-c4e9487c">
                <view class="item-title data-v-c4e9487c">
                    可用
                    <text class="data-v-c4e9487c" style="color: #e5e5e5">{{ order.max_useable_score }}</text>
                    {{ scoreAlias }}
                </view>
                <view class="arrow-right bold data-v-c4e9487c">
                    <text class="data-v-c4e9487c" style="margin-left: 10rpx; color: #9df9fc" v-if="order.max_useable_score && form.is_use_score">{{ '-¥' + $root.f0 }}</text>
                    <checkbox-group @change="__e" class="data-v-c4e9487c" :data-event-opts="[['change', [['scoreSwitchChange', ['$event']]]]]" style="margin-top: -4rpx">
                        <label class="data-v-c4e9487c">
                            <checkbox
                                :checked="form.is_use_score"
                                class="redpack-switch checkbox-backgroun-yellow checkbox-round data-v-c4e9487c"
                                color="#9DF9FC"
                                :value="form.is_use_score"
                            ></checkbox>
                        </label>
                    </checkbox-group>
                </view>
            </view>
            <view class="block data-v-c4e9487c" v-if="doubleBoxCard.is_show && doubleBoxCard.my_balance > 0 && payTotal <= 10">
                <view class="item-title data-v-c4e9487c">
                    {{ doubleBoxCard.double_card_info.title }}
                    <text class="data-v-c4e9487c" style="color: #e5e5e5; font-size: 24rpx">(抽赏所获金额翻倍!)</text>
                </view>
                <view class="arrow-right bold data-v-c4e9487c">
                    <checkbox-group @change="__e" class="data-v-c4e9487c" :data-event-opts="[['change', [['doubleBoxCardswitchChange', ['$event']]]]]" style="margin-top: -4rpx">
                        <label class="data-v-c4e9487c">
                            <checkbox
                                :checked="form.is_doubleBoxCard"
                                class="redpack-switch checkbox-backgroun-yellow checkbox-round data-v-c4e9487c"
                                color="#9DF9FC"
                                :value="form.is_doubleBoxCard"
                            ></checkbox>
                        </label>
                    </checkbox-group>
                </view>
            </view>
            <view class="zhuyi data-v-c4e9487c">
                注意：
                <view class="data-v-c4e9487c">1、发货需要10元邮资，没有包邮，非预售产品15天工作日发出；</view>
                <view class="data-v-c4e9487c">2、潮玩开赏存在概率性，不支持退款，请谨慎消费，未成年禁止消费。</view>
            </view>
            <view class="footer data-v-c4e9487c">
                <view class="footer-fl data-v-c4e9487c">
                    <view class="footer-fl-price data-v-c4e9487c">
                        <price-display @__l="__l" class="data-v-c4e9487c" :info="order" prefix="pay_" style="font-size: 46rpx; font-weight: 200" vueId="40350ac8-2"></price-display>
                    </view>
                    <view class="footer-fl-radio data-v-c4e9487c">
                        <radio
                            @tap="__e"
                            :checked="isCheckUserStatement"
                            class="data-v-c4e9487c"
                            color="#ef563d"
                            :data-event-opts="[['tap', [['uncheck', ['$event']]]]]"
                            style="transform: scale(0.7); position: relative; top: -2rpx"
                            value="cb"
                        ></radio>
                        我已阅读并同意
                        <text @tap="__e" class="link data-v-c4e9487c" :data-event-opts="[['tap', [['handleXieyiClick', ['$event']]]]]">《用户使用协议》</text>
                        <view @tap="__e" class="link data-v-c4e9487c" :data-event-opts="[['tap', [['handleFaHuoClick', ['$event']]]]]" style="text-align: right">《发货须知》</view>
                    </view>
                </view>
                <view class="footer-fr data-v-c4e9487c">
                    <view
                        @tap="__e"
                        class="button data-v-c4e9487c"
                        :data-event-opts="[['tap', [['disableMultiClick', ['$0'], ['submit']]]]]"
                        v-if="isInit && !isLoading && isCheckUserStatement"
                    ></view>
                    <view class="button data-v-c4e9487c" v-else></view>
                </view>
            </view>
        </view>
        <usable-coupon-popup
            @__l="
                __l($event, {
                    eventOpts: [
                        ['^change', [['couponChange']]],
                        ['^close', [['hidePopup']]],
                        ['^load', [['load']]]
                    ]
                })
            "
            @change="
                __e($event, {
                    eventOpts: [
                        ['^change', [['couponChange']]],
                        ['^close', [['hidePopup']]],
                        ['^load', [['load']]]
                    ]
                })
            "
            @close="
                __e($event, {
                    eventOpts: [
                        ['^change', [['couponChange']]],
                        ['^close', [['hidePopup']]],
                        ['^load', [['load']]]
                    ]
                })
            "
            @load="
                __e($event, {
                    eventOpts: [
                        ['^change', [['couponChange']]],
                        ['^close', [['hidePopup']]],
                        ['^load', [['load']]]
                    ]
                })
            "
            class="data-v-c4e9487c"
            :data-event-opts="[
                ['^change', [['couponChange']]],
                ['^close', [['hidePopup']]],
                ['^load', [['load']]]
            ]"
            :unusableCoupons="unusableCouponsList"
            :usableCoupons="usableCouponsList"
            vueId="40350ac8-3"
            v-if="isCouponPopup"
        ></usable-coupon-popup>
        <view @tap.stop.prevent="__e" class="pingtai data-v-c4e9487c" :data-event-opts="[['tap', [['', ['$event']]]]]" v-if="pingtaiBool">
            <view class="pingtaides data-v-c4e9487c">
                <view class="pingtaides-img data-v-c4e9487c">
                    <image class="data-v-c4e9487c" src="https://img121.7dun.com/20230207NewImg/wuxianshang/pingtaides.png"></image>
                </view>
                <view class="pingtaides-sm data-v-c4e9487c">1.18周岁以下未成年人消费必须要在监护人的陪 同下，或者征得监护人同意后才可进行支付</view>
                <view class="pingtaides-sm data-v-c4e9487c">2.元气玛丽属于 盲盒类商品，不支持无理由退货退款</view>
                <view class="pingtaides-sm data-v-c4e9487c">
                    3.盲盒商品随机出现，可能出现重复商品，如您不喜欢该商品，可兑换该商品。平台不支持因商品不喜欢或商品重复提出的取消或退款申请。
                </view>
                <view class="pingtaides-radio data-v-c4e9487c">
                    <radio
                        @tap.stop.prevent="__e"
                        :checked="buzaiBool"
                        class="data-v-c4e9487c"
                        color="#ef563d"
                        :data-event-opts="[['tap', [['handleDesClick', ['$event']]]]]"
                        style="transform: scale(0.7); position: relative; top: -2rpx"
                    ></radio>
                    不再弹出
                </view>
                <view class="pingtaides-foot data-v-c4e9487c">
                    <view @tap.stop.prevent="__e" class="pingtaides-tui data-v-c4e9487c" :data-event-opts="[['tap', [['handleTuiClick', ['$event']]]]]">退出</view>
                    <view @tap.stop.prevent="__e" class="pingtaides-jixu data-v-c4e9487c" :data-event-opts="[['tap', [['handleJixuClick', ['$event']]]]]">同意规则并继续支付</view>
                </view>
            </view>
        </view>
        <view @tap.stop.prevent="__e" class="fahuo data-v-c4e9487c" :data-event-opts="[['tap', [['', ['$event']]]]]" v-if="fahuoBoll">
            <view class="fahuodes data-v-c4e9487c">
                <view class="fahuodes-head data-v-c4e9487c">
                    <view
                        @tap.stop.prevent="__e"
                        :class="['fahuodes-head-fl', 'data-v-c4e9487c', fahuoCurrent === index ? 'active' : '']"
                        :data-event-opts="[['tap', [['handleHuoClick', [index]]]]]"
                        v-for="(item, index) in fahuoList"
                        :key="index"
                    >
                        {{ '' + item + '' }}
                    </view>
                </view>
                <scroll-view class="fahuodes-info data-v-c4e9487c" :scrollY="true" v-if="fahuoCurrent == 0">
                    <view class="data-v-c4e9487c">1、关于发货问题</view>
                    <view class="data-v-c4e9487c">
                        用户选择赏品后可选择发货操作，平台默认京东物流或者顺丰，邮费10元，元气玛丽可配送区域 为中国大陆地区(除特殊偏远地区)，若您在收件区域之外
                        的地区，请您与我们沟通支付邮费或进行退货处理，否 则我们将无法发货；
                    </view>
                    <view class="data-v-c4e9487c">若有遇到盲盒类多款式的赏品，平台会随机发货，一切以最终实际发货为准。</view>
                    <view class="data-v-c4e9487c">2、关于发货日期</view>
                    <view class="data-v-c4e9487c">现货商品：</view>
                    <view class="data-v-c4e9487c">
                        默认工作日按照申请发货的先后顺序依次发货，如遇发 货高峰或者节假日高峰，平台也会尽量在节假日加班加
                        点为大家提供发货服务、一般现货类商品7-15个工作日内能到达用户手上 （不可抗力或者物流，疫情等原因引起的不能准时到达也 请各位予以理解）。
                    </view>
                    <view class="data-v-c4e9487c">预售商品：</view>
                    <view class="data-v-c4e9487c">
                        当预售类商品转为现货的时候，赏柜里的"预售〞会自动 变成现货，用户即可点击发货，平台按照申请先后顺序 依次发货。平台也会以各种形式通知大家，包括但不仅
                        限于公众号，订阅提醒等请各位即时发货，以免在仓存 储时间较长引起的积灰，盒损，褪色等不必要的损失， 如现货时间超过一年，平台将不再对以上情況引起的任
                        何损失或者产品质量问题予以负责售后，敬请谅解。预售商品：
                    </view>
                    <view class="data-v-c4e9487c">
                        当预售类商品转为现货的时候，赏柜里的"预售”会自动 变成现货，用户即可点击发货，平台按照申请先后顺序 依次发货。平台也会以各种形式通知大家，包括但不仅
                        限于公众号，订阅提醒等请各位即时发货，以免在仓存 储时间较长引起的积灰，盒损，褪色等不必要的损失， 如现货时间超过一年，平台将不再对以上情况引起的任
                        何损失或者产品质量问题予以负责或售后，敬请谅解。 请务必关注"元气玛丽"微信公众号，以便了解更多最新资 讯。用户亦可通过客服窗口询问客服人员了解更多信
                        息，客服时间为工作日下午2点至晚9点，客服人员每天 咨询较多，还请耐心等待，我们会一一接入并解答。
                    </view>
                </scroll-view>
                <scroll-view class="fahuodes-info data-v-c4e9487c" :scrollY="true" v-if="fahuoCurrent == 1">
                    <view class="data-v-c4e9487c">1：收到商品请先不要立即开封，确保快递箱无挤压破 损，如发现外箱破损严重可要求开箱验货，建议拍摄完 整开箱视频。</view>
                    <view class="data-v-c4e9487c">
                        2：手办模型等商品为量产手工艺品，难免会存在瑕疵， 掉漆，涂漆不匀，关节松紧，缝隙大小等问题均属于正 常情况，不保证一定满足所有要求标准。玩具厂商给我
                        们的售后说明中这类情况不属于质量问题，所以我们无 法对于此类问题进行退换，希望您理解。
                    </view>
                    <view class="data-v-c4e9487c">
                        3：;商品发货时平台保证商品为全新未拆封状态，如遇大 的瑕疵【断件，缺件，大面积涂装不均】需要提供完整 开箱视顷，可联系客服，我们可以将您相关视频资料提
                        交给厂家，具体售后情况由厂家或工作室进行认定。
                    </view>
                    <view class="data-v-c4e9487c">4:如遇快递外箱挤压，破损等运损问题，可联系物流公 司进行理赔。</view>
                    <view class="data-v-c4e9487c">5：以快递签收日为准，超过7个工作日的售后需求平台 将无法支持，请出现售后问题第一时间联系平台客服。</view>
                    <view class="data-v-c4e9487c">
                        6：盒子经过了快递长途运输 ，无法保证外盒没有任何一 丝的折痕，破损，裂开，凹陷。平台会加强包装每个手 办外盒均由葫芦膜包裹，并用充气枕填充。轻微盒损不
                        在此售后范围，请谅解
                    </view>
                </scroll-view>
                <view class="fahuodes-foot data-v-c4e9487c">
                    <view @tap="__e" class="fahuodes-btn data-v-c4e9487c" :data-event-opts="[['tap', [['handleHuoClose', ['$event']]]]]">关闭</view>
                </view>
            </view>
        </view>
    </view>
</template>

<script>
import priceDisplay from '@/components/PriceDisplay/PriceDisplay';
import usableCouponPopup from '@/components/UsableCouponPopup/UsableCouponPopup';
import tabBar from '@/components/TabBar/tabBar';
(global.webpackJsonp = global.webpackJsonp || []).push([
    ['pages/fudai/components/PayCard'],
    {
        '0bad': function (o, t, e) {},
        '3c59': function (o, t, e) {
            'use strict';

            (function (o) {
                var n = e('4ea4');
                Object.defineProperty(t, '__esModule', {
                    value: true
                });
                t.default = void 0;
                var i = n(e('9523'));
                var s = e('26cb');
                var u = n(e('82c0'));
                function r(o, t) {
                    var e = Object.keys(o);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(o);
                        if (t) {
                            n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(o, t).enumerable;
                            });
                        }
                        e.push.apply(e, n);
                    }
                    return e;
                }
                function a(o) {
                    for (var t = 1; t < arguments.length; t++) {
                        if (null != arguments[t]) {
                            var e = arguments[t];
                        } else {
                            var e = {};
                        }
                        if (t % 2) {
                            r(Object(e), true).forEach(function (t) {
                                (0, i.default)(o, t, e[t]);
                            });
                        } else {
                            Object.getOwnPropertyDescriptors
                                ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(e))
                                : r(Object(e)).forEach(function (t) {
                                      Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(e, t));
                                  });
                        }
                    }
                    return o;
                }
                var c = {
                    components: {},
                    data: function () {
                        return {
                            payTotal: -1,
                            order: {},
                            price: 0,
                            form: {
                                is_use_redpack: 1,
                                is_use_score: 1,
                                is_doubleBoxCard: 0
                            },
                            total_prices: 0,
                            total_score_price: 0,
                            currentCoupon: {},
                            isCouponPopup: false,
                            unusableCoupons: [],
                            usableCoupons: [],
                            usableCouponsList: [],
                            unusableCouponsList: [],
                            isInit: false,
                            isLoading: false,
                            isSubmiting: false,
                            isCheckUserStatement: true,
                            doubleBoxCard: {},
                            count: 10,
                            buzaiBool: false,
                            pingtaiBool: false,
                            fahuoBoll: false,
                            fahuoCurrent: 0,
                            fahuoList: ['发货须知', '售后须知']
                        };
                    },
                    props: {
                        info: {
                            type: Object
                        }
                    },
                    computed: a(
                        a({}, (0, s.mapGetters)(['userInfo'])),
                        {},
                        {
                            isuserInfo: function () {}
                        }
                    ),
                    watch: {
                        payTotal: function () {
                            this.initOrder();
                        }
                    },
                    created: function () {
                        this.payTotal = this.info.pay_total;
                        var that = this;
                        o.getStorage({
                            key: 'fudai_scoreStorage',
                            success: function (o) {
                                that.form.is_use_score = o.data ? 1 : 0;
                                setTimeout(function () {
                                    that.initOrder();
                                }, 100);
                            }
                        });
                        o.getStorage({
                            key: 'isCheckUserStatementBool',
                            success: function (o) {
                                that.isCheckUserStatement = o.data;
                            }
                        });
                        o.getStorage({
                            key: 'isBuzaiBool',
                            success: function (o) {
                                that.buzaiBool = o.data;
                            }
                        });
                    },
                    methods: {
                        handleFaHuoClick: function () {
                            console.log('11');
                            this.fahuoBoll = true;
                        },
                        handleHuoClose: function () {
                            this.fahuoBoll = false;
                        },
                        handleHuoClick: function (o) {
                            if (o !== this.fahuoCurrent) {
                                this.fahuoCurrent = o;
                            }
                        },
                        uncheck: function () {
                            this.isCheckUserStatement = !this.isCheckUserStatement;
                        },
                        handleDesClick: function () {
                            this.buzaiBool = !this.buzaiBool;
                            o.setStorage({
                                key: 'isBuzaiBool',
                                data: true,
                                success: function () {}
                            });
                        },
                        handleTuiClick: function () {
                            this.pingtaiBool = false;
                        },
                        handleXieyiClick: function () {
                            o.navigateTo({
                                url: '/pages/rule/userStatement'
                            });
                        },
                        load: function () {
                            this.count += 10;
                            this.showPopup();
                        },
                        showPopup: function () {
                            for (o = [], t = [], e = 0, void 0; e < this.count; e++) {
                                var o;
                                var t;
                                var e;
                                if (void 0 !== this.usableCoupons[e]) {
                                    o.push(this.usableCoupons[e]);
                                }
                                if (void 0 !== this.unusableCoupons[e]) {
                                    t.push(this.unusableCoupons[e]);
                                }
                            }
                            this.usableCouponsList = o.filter(function (o, t, e) {
                                return (
                                    e.findIndex(function (t) {
                                        return t.id === o.id;
                                    }) === t
                                );
                            });
                            this.unusableCouponsList = t.filter(function (o, t, e) {
                                return (
                                    e.findIndex(function (t) {
                                        return t.id === o.id;
                                    }) === t
                                );
                            });
                            this.isCouponPopup = true;
                        },
                        hidePopup: function () {
                            this.count = 10;
                            this.usableCouponsList = [];
                            this.unusableCouponsList = [];
                            this.isCouponPopup = false;
                        },
                        couponChange: function (o) {
                            o.id === this.currentCoupon.id || ((this.currentCoupon = o), this.initOrder());
                        },
                        initOrder: function () {
                            var that = this;
                            o.showLoading();
                            this.$http(
                                '/fudai/order/preview',
                                'POST',
                                a(
                                    {
                                        page_uuid: this.info.page_uuid,
                                        total: this.payTotal,
                                        coupon_id: this.currentCoupon.id
                                    },
                                    this.form
                                )
                            )
                                .then(function (e) {
                                    that.isInit = true;
                                    that.order = e.data.order;
                                    that.unusableCoupons = e.data.order.coupons.unusable;
                                    that.usableCoupons = e.data.order.coupons.usable;
                                    o.hideLoading();
                                })
                                .catch(function (o) {
                                    that.isInit = false;
                                    that.cancel();
                                });
                            this.$http('/user/cards').then(function (o) {
                                that.doubleBoxCard = o.data.double_box_card;
                            });
                        },
                        switchChange: function (o) {
                            null == o.detail.value[0] ? (this.form.is_use_redpack = 0) : (this.form.is_use_redpack = 1);
                            this.initOrder();
                        },
                        scoreSwitchChange: function (t) {
                            this.form.is_use_score = !(t.detail.value.length > 1);
                            null == t.detail.value[0]
                                ? ((this.form.is_use_score = 0),
                                  o.setStorage({
                                      key: 'fudai_scoreStorage',
                                      data: false,
                                      success: function () {
                                          console.log('success');
                                      }
                                  }))
                                : ((this.form.is_use_score = 1),
                                  o.setStorage({
                                      key: 'fudai_scoreStorage',
                                      data: true,
                                      success: function () {
                                          console.log('success');
                                      }
                                  }));
                            this.initOrder();
                        },
                        doubleBoxCardswitchChange: function (o) {
                            1 === this.form.is_doubleBoxCard ? (this.form.is_doubleBoxCard = 0) : (this.form.is_doubleBoxCard = 1);
                            this.initOrder();
                        },
                        cancel: function () {
                            this.$emit('close');
                        },
                        createOrder: function () {
                            var that = this;
                            if (this.isLoading) {
                                return false;
                            }
                            this.isLoading = true;
                            o.showLoading({
                                title: '提交中'
                            });
                            this.$http(
                                '/fudai/order/confirm',
                                'POST',
                                a(
                                    {
                                        page_uuid: this.info.page_uuid,
                                        total: this.payTotal,
                                        coupon_id: this.currentCoupon.id
                                    },
                                    this.form
                                )
                            )
                                .then(function (e) {
                                    o.hideLoading();
                                    that.isSubmiting = false;
                                    var n = e.data;
                                    n.is_need_pay
                                        ? u.default.pay(
                                              a(
                                                  a({}, n),
                                                  {},
                                                  {
                                                      success: function () {
                                                          that.$emit('success', n.order, false, n.is_doubleBoxCard);
                                                      },
                                                      fail: function () {
                                                          o.showToast({
                                                              title: '支付失败',
                                                              icon: 'none'
                                                          });
                                                          that.$http('/orders/'.concat(n.order.uuid), 'PUT', {
                                                              type: 'close_and_delete'
                                                          });
                                                      }
                                                  }
                                              )
                                          )
                                        : that.$emit('success', n.order, false, n.is_doubleBoxCard);
                                })
                                .catch(function (o) {
                                    that.isLoading = false;
                                });
                        },
                        handleBtnClick: function () {
                            if (!this.isCheckUserStatement) {
                                o.showToast({
                                    title: '请先阅读并同意《用户使用协议》',
                                    icon: 'none'
                                });
                                return false;
                            }
                        },
                        handleJixuClick: function () {
                            this.pingtaiBool = false;
                            if (this.isLoading) {
                                return false;
                            }
                            this.createOrder();
                        },
                        submit: function () {
                            o.setStorage({
                                key: 'isCheckUserStatementBool',
                                data: true,
                                success: function () {}
                            });
                            if (0 == this.buzaiBool) {
                                this.pingtaiBool = true;
                            } else {
                                this.pingtaiBool = false;
                                if (this.isLoading) {
                                    return false;
                                }
                                this.createOrder();
                            }
                        }
                    },
                    onPageScroll: function (o) {}
                };
                t.default = c;
            }.call(this, e('543d').default));
        },
        4790: function (o, t, e) {
            'use strict';

            var n = e('0bad');
            e.n(n).a;
        },
        '4a6a': function (o, t, e) {
            'use strict';

            e.r(t);
            var n = e('cf4a');
            var i = e('5239');
            for (var s in i) {
                if (['default'].indexOf(s) < 0) {
                    (function (o) {
                        e.d(t, o, function () {
                            return i[o];
                        });
                    })(s);
                }
            }
            e('4790');
            var u = e('f0c5');
            var r = Object(u.a)(i.default, n.b, n.c, false, null, 'c4e9487c', null, false, n.a, void 0);
            t.default = r.exports;
        },
        5239: function (o, t, e) {
            'use strict';

            e.r(t);
            var n = e('3c59');
            var i = e.n(n);
            for (var s in n) {
                if (['default'].indexOf(s) < 0) {
                    (function (o) {
                        e.d(t, o, function () {
                            return n[o];
                        });
                    })(s);
                }
            }
            t.default = i.a;
        },
        cf4a: function (o, t, e) {
            'use strict';

            e.d(t, 'b', function () {
                return i;
            });
            e.d(t, 'c', function () {
                return s;
            });
            e.d(t, 'a', function () {
                return n;
            });
            var n = {
                PriceDisplay: function () {
                    return e.e('components/PriceDisplay/PriceDisplay').then(e.bind(null, '6b05'));
                },
                UsableCouponPopup: function () {
                    return e.e('components/UsableCouponPopup/UsableCouponPopup').then(e.bind(null, '3858'));
                }
            };
            var i = function () {
                var that = this;
                var t = (that.$createElement, that._self._c, that.order.coupon_discount ? that.$tool.formatPrice(that.order.coupon_discount) : null);
                if (that.order.coupon_discount) {
                    var e = null;
                } else {
                    var e = that.usableCoupons.length;
                }
                var n = !that.order.coupon_discount && e ? that.usableCoupons.length : null;
                var i = that.order.redpack ? that.$tool.formatPrice(that.order.redpack) : null;
                var s = that.order.max_useable_score && that.form.is_use_score ? that._f('priceToFixed')(that.order.score_discount) : null;
                that.$mp.data = Object.assign(
                    {},
                    {
                        $root: {
                            g0: t,
                            g1: e,
                            g2: n,
                            g3: i,
                            f0: s
                        }
                    }
                );
            };
            var s = [];
        }
    }
]);
(global.webpackJsonp = global.webpackJsonp || []).push([
    'pages/fudai/components/PayCard-create-component',
    {
        'pages/fudai/components/PayCard-create-component': function (o, t, e) {
            e('543d').createComponent(e('4a6a'));
        }
    },
    [['pages/fudai/components/PayCard-create-component']]
]);
</script>
<style>
@import './PayCard.css';
</style>
